package com.net.jef.dal.dao.hibernate;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.net.jef.dal.common.BaseDAOHibernate;
import com.net.jef.dal.dao.TestUserDAO;
import com.net.jef.dal.dateobject.TestUserDO;

@Repository("testUserDAO")
public class TestUserDAOHibernate extends BaseDAOHibernate<TestUserDO, Long>
        implements TestUserDAO {

    public List<TestUserDO> getTestUserList() {
        List<TestUserDO> list = getSession().createQuery("from TestUserDO ")
                .list();
        return list;
    }
}
